{t assignTo=title}Conflicted pages{/t}
<form name="form" method="post" action="{$modal.href}" class="nyroModal">
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}
<div id="modalContent">
		<table class="listTable">
            <tr><td class="highlight">{icon name="warning.png} {t}Another published page with the same url has been found, what do you want you do ?{/t}</td></tr>
            <tr><td class="highlight">{t}Page found{/t} : <a href="{$pageInConflict->getCompleteUrl()}" target="_blank">{$pageInConflict|truncate:50:'...'}</a></td></tr>
			<tr><td><input type="radio" name="form[action]" value="1" id="switch" {if $modal.formValue.action == '1'}checked="checked"{/if}/><label for="switch">{t}Unpublish the other page and publish this one.{/t}</label></td></tr>
			<tr><td><input type="radio" name="form[action]" value="2" id="delete" {if $modal.formValue.action == '2'}checked="checked"{/if}/><label for="delete">{t}Delete the other page and publish this one{/t}</label></td></tr>
			<tr><td><input type="radio" name="form[action]" value="3" id="rename" {if $modal.formValue.action == '3'}checked="checked"{/if}/><label for="rename">{t}Change the current page's url to{/t} /</label><input type="text" name="form[url]" class="medium" value="{$currentPage->getFormattedUrl()}" onclick="$('#rename').attr('checked', 'checked');"/>{if isset($error)}<span class="error"> {icon name="warning.png"} {$error}</span>{/if}</td></tr>
		</table>
</div>
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html"}
</form>
